<template>
	<view>
		<view class="header_bottom">
			<text @click="relist(1)" :class="action==1?'active':''">综合</text>
			<text style="color: #999999;">|</text>
			<text @click="relist(2)" :class="action==2?'active':''">销量</text>
			<text style="color: #999999;">|</text>
			<text @click="relist(3)" :class="action==3?'active':''">评分</text>
			<text style="color: #999999;">|</text>
			<text @click="relist(3)" :class="action==4?'active':''">优选</text>
			<!-- <text @click="clearcate(4)" :class="action==4?'active':''" style="color:blue">{{catetitle}}</text> -->
		</view>
		<view class="box">
			<view class="box1">
				<image src="../../static/img/shop1.png" mode=""></image>
				<view class="box1-1">
					<view class="box1-1text">
						商户名称商户名称商户名称...
					</view>
					<view class="box1-1text1">
						月销量 521
					</view>
					<view class="">
						<view class="shoplist-top2">
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfwu.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="box1">
				<image src="../../static/img/shop1.png" mode=""></image>
				<view class="box1-1">
					<view class="box1-1text">
						商户名称商户名称商户名称...
					</view>
					<view class="box1-1text1">
						月销量 521
					</view>
					<view class="">
						<view class="shoplist-top2">
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfwu.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="box1">
				<image src="../../static/img/shop1.png" mode=""></image>
				<view class="box1-1">
					<view class="box1-1text">
						商户名称商户名称商户名称...
					</view>
					<view class="box1-1text1">
						月销量 521
					</view>
					<view class="">
						<view class="shoplist-top2">
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfwu.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="box1">
				<image src="../../static/img/shop1.png" mode=""></image>
				<view class="box1-1">
					<view class="box1-1text">
						商户名称商户名称商户名称...
					</view>
					<view class="box1-1text1">
						月销量 521
					</view>
					<view class="">
						<view class="shoplist-top2">
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfwu.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="box">
			<view class="box1">
				<image src="../../static/img/shop1.png" mode=""></image>
				<view class="box1-1">
					<view class="box1-1text">
						商户名称商户名称商户名称...
					</view>
					<view class="box1-1text1">
						月销量 521
					</view>
					<view class="">
						<view class="shoplist-top2">
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfshi.png" mode=""></image>
							<image src="../../static/pfwu.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		<tabbar :selected="3"></tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onShow() {
			uni.hideTabBar({
				animation: false
			})
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.header_bottom {
		flex: 1;
		background-color: white;
		padding: 20rpx 0;
		display: flex;
		justify-content: space-around;
		align-items: center;
		font-size: 28upx;
		color: #333;
		font-weight: 600;
	}

	.box {
		width: 686rpx;
		background-color: white;
		margin: 20rpx auto;
	}

	.box1 {
		display: flex;

		padding: 20rpx;

		>image {
			width: 176rpx;
			height: 176rpx;
		}
	}

	.box1-1 {
		padding-left: 20rpx;
	}

	.box1-1text {
		font-size: 32rpx;
		font-family: Source Han Sans CN-Bold, Source Han Sans CN;
		font-weight: bold;
		color: #373737;
		line-height: 60rpx;
	}

	.box1-1text1 {
		font-size: 24rpx;
		font-family: Source Han Sans CN-Regular, Source Han Sans CN;
		font-weight: 400;
		color: #999999;
		line-height: 42rpx;
	}

	.shoplist-top2 {
		display: flex;

		>image {

			width: 22rpx;
			height: 22rpx;
			margin: 6rpx;
		}
	}
</style>
